<!DOCTYPE HTML >
<html>

<head>
    <title>form</title>
    <meta charset = 'utf-8'>
</head>
<body>
<div style= 'background:cornflowerblue;height: 30px;line-height: 30px;text-align: center;font-size: 24px'>欢迎注册</div>

    <form action= '../html/enroll.html' method='post'>
        <input type='hidden' name='hid' value='学生'/>
    <table  width='100%'>
        <tr>
            <th colspan= 2>注册</th>
        </tr>
        <tr>
            <td width='50%' style='text-align: right '>
                *手机号码:&nbsp;&nbsp;
            </td>
            <td  width='50%'>
                <label>
                <input type = 'text' name = 'phone' value = '手机号码' maxlength=11  /></label>
            </td>
        </tr>
        <tr>
            <td  style='text-align: right '>
                *姓名:&nbsp;&nbsp;
            </td>
            <td>
                <label><input type='text' value= '姓名' name = 'name' /></label>
            </td>
        </tr>
        <tr>
            <td  style='text-align: right '>
                *性别:&nbsp;&nbsp;
            </td>
            <td>
                <label><select  name = 'sex' >
                    <option value='man'>男</option>
                    <option value= 'woman'>女</option>
                </select></label>

            </td>
        </tr>
        <tr>
            <td  style='text-align: right '>*图片:&nbsp;&nbsp; </td>
            <td><label><input type='file' name='img' value=''></label></td>
        </tr>
        <tr>
            <td  style='text-align: right '>*密码:&nbsp;&nbsp; </td>
            <td><label><input type='password' name='pssword' value=''></label></td>
        </tr>
        <tr>
            <td  style='text-align: right '>*确认密码:&nbsp;&nbsp;</td>
            <td><label><input type='password' name='pss' value=''></label></td>
        </tr>
        <tr>
            <td  style='text-align: right '>爱好:&nbsp;&nbsp;</td>
            <td><label><input type='checkbox' name = 'sport' value=''> 运动</label>
                <label><input type='checkbox' name='read' value=''> 阅读</label>
                <label><input type='checkbox' name='music' value=''> 音乐</label></td>
        </tr>
        <tr>
            <td  style='text-align: right '>个人简介:&nbsp;&nbsp;</td>
           <td> <label><textarea  name='introduce' > </textarea></label></td>
        </tr>
        <tr>
            <td colspan="2" style="text-align: center">
                <!--自动提交-->
            1.<input  name= 'submit' type = 'submit' value = '提交1' />
            2.<button>提交2</button>
            3.<input  name = 'img' type = 'image' src = '../img/enroll.jpg'/>(图片形式)
            <!--非自动提交 -->
            4.<button type = 'button'>注册4</button>
            5.<input type = 'button' value = '注册'/>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>